package com.compass.tumor.push;

import android.content.Intent;
import android.os.IBinder;

import androidx.annotation.Nullable;

import com.hihonor.push.sdk.HonorPushDataMsg;

/**
 * Description： 荣耀推送与云信推送兼容的Receiver (使用待定)
 * Date:2024/1/22 15:09
 */
public class HonorPushMessageService extends com.netease.nimlib.sdk.mixpush.HonorPushMessageService {
    private static final String TAG = "HonorPushMessageService";

    @Nullable
    @Override
    public IBinder onBind(Intent intent) {
        return super.onBind(intent);
    }

    @Override
    public void onNewToken(String token) {
        super.onNewToken(token);
    }

    /**
     * * 透传消息， 需要用户自己弹出通知
     * @param msg
     */
    @Override
    public void onMessageReceived(HonorPushDataMsg msg) {
        super.onMessageReceived(msg);
    }
}
